//
//  ILRNIUserDefaults.h
//  CMKit_Example
//
//  Created by OrrHsiao on 2022/3/28.
//  Copyright © 2022 zrf. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ILRNIUserDefaults : NSObject

+ (void)setValue:(id)anObject key:(NSString *)aKey;

+ (id)getValue:(NSString *)aKey;

+ (void)removeValue:(NSString *)aKey;

+ (void)setBool:(BOOL)value key:(NSString *)aKey;

+ (BOOL)getBool:(NSString *)aKey;


+ (void)setInteger:(NSInteger)value key:(NSString *)aKey;

+ (NSInteger)getInteger:(NSString *)aKey;

+ (void)setFloat:(float)value key:(NSString *)aKey;

+ (float)getFloat:(NSString *)aKey;

+ (void)setDouble:(double)value key:(NSString *)aKey;

+ (double)getDouble:(NSString *)aKey;

+ (NSString *)getString:(NSString *)aKey;

+ (NSArray *)getArray:(NSString *)aKey;

+ (NSDictionary *)getDictionary:(NSString *)aKey;

+ (NSArray<NSString *> *)getStringArrary:(NSString *)aKey;

+ (NSData *)getData:(NSString *)aKey;

@end

NS_ASSUME_NONNULL_END
